#include <iostream>
#include <csignal>
#include "buddy_struct.h"
#include "unordered_map"
using namespace std;
int main() {
    total_buddy_struct tb1 = total_buddy_struct(1024,2);
    tb1.apply_for_memory(3,1024);
    tb1.apply_for_memory(3,1024);
    tb1.release_memory(2,1025);
    tb1.release_memory(3,1);
    tb1.apply_for_memory(3,1024);
    tb1.show_mem_log();
    tb1.show_free_links();
}
